//
//  ChatMessageListCellData.m
//  ChildHoodStemp
//
//  Created by 日东 罗 on 13-9-18.
//
//

#import "ChatMessageListCellData.h"
#import "MicroDef.h"

@implementation ChatMessageListCellData
@synthesize senderName = _senderName;
@synthesize sendTime = _sendTime;
@synthesize headImageUri = _headImageUri;
@synthesize content = _content;
@synthesize unreadNumber = _unreadNumber;
@synthesize messageRoomID = _messageRoomID;
@synthesize messageType = _messageType;
@synthesize messageStatus = _messageStatus;
@synthesize messageIndex = _messageIndex;
@synthesize FriendUserId = _FriendUserId;
@synthesize MineUserId = _MineUserId;
@synthesize MineJid = _MineJid;
@synthesize FriendJid =_FriendJid;
@synthesize GroupId = _GroupId;

- (void)dealloc
{
    
}

-(id)initWithData:(ChatMessageListCellData *)data
{
    self = [super init];
    if (self) {
        self.senderName = data.senderName;
        self.sendTime = data.sendTime;
        self.headImageUri = data.headImageUri;
        self.content = data.content;
        self.unreadNumber = data.unreadNumber;
        self.messageRoomID = data.messageRoomID;
        self.messageType = data.messageType;
        self.messageStatus = data.messageStatus;
        self.FriendUserId = data.FriendUserId;
        self.FriendJid = data.FriendJid;
        self.MineJid = data.MineJid;
        self.MineUserId = data.MineUserId;
        self.GroupId = data.GroupId;
        self.groupType = data.groupType;
    }
    return self;
}

@end
